/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.task;

import java.util.List;

/**
 *
 * @author lendle
 */
public interface TaskQueue {
    public void start();
    public void stop();
    public void pause();
    public void resume();
    public int size();
    public List<Task> getTasks();
    public void addTask(Task task);
    public void addTask(Task task, boolean preempt);
    public void addTaskQueueListener(TaskQueueEventListener l);
    public void removeTaskQueueListener(TaskQueueEventListener l);
}
